package com.example.othree.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.othree.entity.PollutionHistoryDataJjjSitesDay;
import com.example.othree.entity.WeatherHistoryData;

import java.util.HashMap;
import java.util.List;

public interface PollutionHistoryDataJjjSitesDayService extends IService<PollutionHistoryDataJjjSitesDay> {
    List<HashMap<String, String>> pollutionAnalyzeDataByCityForAvg(String startTime, String endTime, String element, String[] cities);
    List<HashMap<String, String>> pollutionAnalyzeDataByCityForEvery(String startTime, String endTime, String element, String[] cities);
    IPage pollutionPageList(IPage<HashMap<String, String>> page,
                            String[] cities,
                            String[] elements,
                            String startTime, String endTime);
    List<HashMap<String, String>> pollutionAnalyzeDataByTime(String startTime, String endTime, String[] stations);
}
